<template>
	<view>
		<view class="contact">
			<image src="http://www.itcast.cn/2018czydz/images/gywmban.jpg" mode=""></image>
		</view>
		<view class="info">
			<view @click="phone"> Tel :  13*****3276<image src="../../static/icon/contact.png"></image></view>
			<view> Adress :  广东佛山南海翰林湖旁</view>
		</view>
		<view>
			<map name="" :longitude="longitude" :scale="scale" :latitude="latitude" :markers="markers"></map>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:112.936,
				latitude:23.051,
				scale:14,
				markers:[
					{
						longitude:112.9362,
						latitude:23.0506,
						iconPath:'../../static/icon/location.png',
						width:30,
						heigth:30
					},
				]
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber:'13172323276'
				})
			}
		}
	}
</script>

<style lang="scss">
.contact{
	image{
			height: 320rpx;
	width: 750rpx;
	}
}
.info{
	font-size: 40rpx;
	line-height: 100rpx;
	padding: 0 30rpx;
	view{
		border-bottom: 1rpx solid #999999;
		image{
			width: 70rpx;
			height: 70rpx;
			vertical-align: middle;
			padding-left: 20rpx;
		}
	}
}
map{
	width: 750rpx;
	height: 750rpx;
}
</style>
